//
//  CalendarMonth.h
//  planner
//
//  Created by 함동균 on 2014. 3. 25..
//  Copyright (c) 2014년 idea. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class CalendarDay;

@interface CalendarMonth : NSManagedObject

@property (nonatomic) int16_t month;
@property (nonatomic) int16_t year;
@property (nonatomic, retain) NSOrderedSet *days;
@end

@interface CalendarMonth (CoreDataGeneratedAccessors)

- (void)insertObject:(CalendarDay *)value inDaysAtIndex:(NSUInteger)idx;
- (void)removeObjectFromDaysAtIndex:(NSUInteger)idx;
- (void)insertDays:(NSArray *)value atIndexes:(NSIndexSet *)indexes;
- (void)removeDaysAtIndexes:(NSIndexSet *)indexes;
- (void)replaceObjectInDaysAtIndex:(NSUInteger)idx withObject:(CalendarDay *)value;
- (void)replaceDaysAtIndexes:(NSIndexSet *)indexes withDays:(NSArray *)values;
- (void)addDaysObject:(CalendarDay *)value;
- (void)removeDaysObject:(CalendarDay *)value;
- (void)addDays:(NSOrderedSet *)values;
- (void)removeDays:(NSOrderedSet *)values;
@end
